﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SimpleRssReader.Model;

namespace SimpleRssReader.DataSources
{
    public interface IDataSource
    {
        Task<ObservableCollection<Blog>> RetrieveBlogsWithLatestPostsAsync(int maxPostsPerBlog);

        Task<ObservableCollection<Post>> RetrieveLatestPostsAsync(Blog blog, int maxPosts);

        Task<Post> RetrieveFullPostAsync(Post post);
    }
}
